package cn.mall.user.domain;

import java.math.BigDecimal;
import java.util.Date;
import cn.mall.base.domain.BaseDomain;
import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author Jarvis-Smith
 * @since 2023-11-30
 */
@Data
public class User extends BaseDomain{

    private static final long serialVersionUID = 1L;

    private Long id;
    private String username;
    private String email;
    private String phone;
    /**
     * 盐值
     */
    private String salt;
    /**
     * 密码，md5加密加盐
     */
    private String password;
    private Date createtime;
    private String headImg;
    /**
     * 0 不可用 1 可用
     */
    private Integer disable;
    private Integer Type;

    /**
     * 账户余额
     */
    private BigDecimal balance;

    private String token;
}
